package com.assignwork.dto;

import com.assignwork.entity.WorkLineLogMachine;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import org.springblade.core.tool.utils.DateUtil;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import java.time.LocalDateTime;
import java.util.List;
import java.util.stream.Collectors;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * (WorkLineLogMachine)DTO
 * @since 2024-05-28 11:01:03
 */
@Data
@ApiModel(value = "WorkLineLogMachineDTO", description = "")
public class WorkLineLogMachineDTO extends WorkLineLogMachine  {

    public static List<WorkLineLogMachine> toEtt(List<WorkLineLogMachineDTO> dto) {
        return dto.stream().map(WorkLineLogMachineDTO::toEtt).collect(Collectors.toList());
    }


    public static WorkLineLogMachine toEtt(WorkLineLogMachineDTO dto) {
        return dto;
    }

}

